package com.lezhi.socialgram.model.sys;

import com.lezhi.socialgram.annotation.Table;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

/**
 * Created by daizhen on 2017/3/29.
 */
@Table(prefix = "t_user_")
public class TelNumSignInUser {

    private String table;

    private Long userId;

    @NotEmpty(message = "手机号不能为空")
    private String telNum;

    @NotEmpty(message = "密码不能为空")
    private String password;

    @NotNull(message = "纬度不能为空")
    private Double lat;

    @NotNull(message = "经度不能为空")
    private Double lon;

    private String country;

    private String region;

    private String city;

    private String county;

    @NotNull(message = "设备类型不能为空")
    private Integer lastLoginDeviceType;

    private String lastLoginChannel;

    private String footPrints;

    private String osVersion;

    private String clientVersion;

    private String deviceId;

    private String remoteIP;

    public String getTable() {
        return table;
    }

    public void setTable(String table) {
        this.table = table;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getTelNum() {
        return telNum;
    }

    public void setTelNum(String telNum) {
        this.telNum = telNum;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Double getLat() {
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public Double getLon() {
        return lon;
    }

    public void setLon(Double lon) {
        this.lon = lon;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public Integer getLastLoginDeviceType() {
        return lastLoginDeviceType;
    }

    public void setLastLoginDeviceType(Integer lastLoginDeviceType) {
        this.lastLoginDeviceType = lastLoginDeviceType;
    }

    public String getLastLoginChannel() {
        return lastLoginChannel;
    }

    public void setLastLoginChannel(String lastLoginChannel) {
        this.lastLoginChannel = lastLoginChannel;
    }

    public String getFootPrints() {
        return footPrints;
    }

    public void setFootPrints(String footPrints) {
        this.footPrints = footPrints;
    }

    public String getOsVersion() {
        return osVersion;
    }

    public void setOsVersion(String osVersion) {
        this.osVersion = osVersion;
    }

    public String getClientVersion() {
        return clientVersion;
    }

    public void setClientVersion(String clientVersion) {
        this.clientVersion = clientVersion;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getRemoteIP() {
        return remoteIP;
    }

    public void setRemoteIP(String remoteIP) {
        this.remoteIP = remoteIP;
    }
}
